package com.vehicle.service;

import com.vehicle.domains.bo.QueryCameraBo;
import com.vehicle.domains.entity.CameraEntity;

import java.util.List;

public interface CameraService {
    void addCamera(CameraEntity cameraEntity);

    void updateCamera(CameraEntity updateEntity);

    CameraEntity getCameraById(Long id);

    List<CameraEntity> queryByAssociationCameraId(Long id);

    void deleteCamera(Long id);

    List<CameraEntity> selectCameraList(QueryCameraBo queryCameraBo);

    void unBindCamera(Long  id);

    CameraEntity getCameraByIp(String ip);
}
